package com.sunjob.mrotech.mapper;

import com.sunjob.common.domain.tech.Fault;
import com.sunjob.common.result.Result;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author tlj
 * @Date 2022/8/8 8:19
 * @PackageName:com.sunjob.mrotech.mapper
 * @ClassName: FaultMapper
 * @Description: TODO
 * @Version 1.0
 */
@Mapper
@Component
public interface FaultMapper {
    List<Fault> faultqueryall(String fault_phenomenon);

    int insertfault(Fault fault);

    List<Fault> selectfault(String configuration_id);

    int upfault(Fault fault);

    int delfault(Long id);

    Fault cxfault(Long id);
}
